﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="listHocVien.ascx.cs" Inherits="admin_listHocVien" %>
<%@ Register TagPrefix="ComponentArt" Namespace="ComponentArt.Web.UI" Assembly="ComponentArt.Web.UI" %>
<%@ Register Assembly="eWorld.UI" Namespace="eWorld.UI" TagPrefix="ew" %>
<table border="0" cellpadding="0" cellspacing="0" style="width: 100%;">
    <tr>
        <td style="width: 230px; background-color: White;" valign="top">
            <table border="0" cellpadding="0" cellspacing="0" style="height: 25px;" style="width: 100%;">
                <tr>
                    <td class="HeadingTree" style="width: 230px;">
                        Danh sách các Level
                    </td>
                    <td style="width: 1px;">
                    </td>
                </tr>
                <tr>
                    <td style="width: 230px;" valign="top">
                        <ComponentArt:TreeView ID="tvLevel" Width="230" Height="670" AutoScroll="true" FillContainer="true"
                            HoverPopupEnabled="true" HoverPopupNodeCssClass="HoverPopup" DragAndDropEnabled="false"
                            NodeEditingEnabled="false" KeyboardEnabled="false" CssClass="TreeView" NodeCssClass="TreeNode"
                            SelectedNodeCssClass="SelectedTreeNode" HoverNodeCssClass="HoverTreeNode" LineImageWidth="19"
                            LineImageHeight="20" DefaultImageWidth="15" DefaultImageHeight="15" ItemSpacing="0"
                            ImagesBaseUrl="images/TreeView/" NodeLabelPadding="1" ParentNodeImageUrl="folder.gif"
                            LeafNodeImageUrl="folder.gif" ShowLines="true" LineImagesFolderUrl="images/lines/"
                            CollapseNodeOnSelect="false" EnableViewState="true" runat="server">
                        </ComponentArt:TreeView>
                    </td>
                    <td style="width: 1px;">
                    </td>
                </tr>
            </table>
        </td>
        <td style="background-color: White;" valign="top">
            <table cellspacing="0" cellpadding="0" width="100%">
                <tr>
                    <td colspan="6" align="left" class="HeadingTree">
                        Danh sách ứng viên
                    </td>
                </tr>
                <tr>
                    <td colspan="6" align="left">
                        <asp:ValidationSummary ID="vdsHocVien" CssClass="cssManField" runat="server" Font-Bold="True"
                            BorderWidth="0" />
                        <asp:Label ID="lblMess" CssClass="cssManField" runat="server" />
                    </td>
                </tr>
                <tr>
                    <td align="left" valign="top" style="height: 670px;">
                        <table cellspacing="0" cellpadding="1" width="100%" border="0">
                            <tr>
                                <td align="center">
                                    <asp:Panel ID="pnTimKiem" runat="server" GroupingText="Thông tin tìm kiếm ">
                                        <table cellspacing="0" cellpadding="1" width="100%" border="0">
                                            <tr>
                                                <td align="right" style="width: 10%;">
                                                    <asp:Label ID="lblMaHocVien" CssClass="cssLabel" runat="server" Text="<U>M</U>ã ứng viên:" />
                                                </td>
                                                <td style="width: 30%;" align="left">
                                                    <asp:TextBox ID="txtMaHocVien" AccessKey="m" runat="server" MaxLength="20" Width="98%" />
                                                </td>
                                                <td style="width: 15%;" align="right">
                                                    <asp:Label ID="lblTenHocVien" CssClass="cssLabel" runat="server" Text="<U>T</U>ên học viên:" />
                                                </td>
                                                <td style="width: 30%;" align="left">
                                                    <asp:TextBox ID="txtTenHocVien" AccessKey="t" runat="server" MaxLength="256" Width="96%" />
                                                </td>
                                                <td align="left" style="width: 15%;">
                                                    <asp:Button ID="btnSearch" AccessKey="s" CssClass="cssButton" runat="server" Width="98px"
                                                        Text="Lọc(s)" OnClick="btnSearch_Click" />
                                                </td>
                                            </tr>
                                            <tr>
                                                <td align="right">
                                                    <asp:Label ID="lblDienThoai" CssClass="cssLabel" runat="server" Text="Đ<U>i</U>ện thoại" />
                                                </td>
                                                <td align="left">
                                                    <asp:TextBox ID="txtDienThoai" AccessKey="i" runat="server" MaxLength="20" Width="98%" />
                                                </td>
                                                <td align="right">
                                                    <asp:Label ID="lblEmail0" CssClass="cssLabel" runat="server" Text="<U>E</U>mail:" />
                                                </td>
                                                <td align="left">
                                                    <asp:TextBox ID="txtEmail" AccessKey="e" runat="server" MaxLength="256" Width="96%" />
                                                </td>
                                                <td align="left" style="width: 10%;">
                                                    <asp:Button ID="btnReset" AccessKey="r" CssClass="cssButton" runat="server" Width="98px"
                                                        Text="Xóa trắng(r)" OnClick="btnReset_Click" />
                                                </td>
                                            </tr>
                                            <tr>
                                                <td align="left" colspan="2">
                                                    <asp:Label ID="Label8" CssClass="cssLabel" runat="server" Text="Thời gian nhập: "
                                                        Style="font-weight: 700" />
                                                </td>
                                                <td>
                                                </td>
                                                <td>
                                                </td>
                                                <td>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td align="right">
                                                    Từ
                                                    <asp:Label ID="Label9" CssClass="cssLabel" runat="server" Text="ngày" />
                                                </td>
                                                <td align="left">
                                                    <ew:CalendarPopup ID="m_dat_nhap_tu_ngay" runat="server" AllowArbitraryText="False" 
                                                        CalendarLocation="Bottom" CellPadding="0px" ControlDisplay="TextBoxImage" 
                                                        Culture="Vietnamese (Vietnam)" DisableTextboxEntry="false" 
                                                        ImageUrl="~/js/cal.gif" Nullable="True" Text="Chọn" VisibleDate="" Width="50%">
                                                        <SelectedDateStyle BackColor="Yellow" 
                                                            Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small" 
                                                            ForeColor="Black" />
                                                        <WeekendStyle BackColor="LightGray" Font-Names="Verdana,Helvetica,Tahoma,Arial" 
                                                            Font-Size="XX-Small" ForeColor="Black" />
                                                        <GoToTodayStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" 
                                                            Font-Size="XX-Small" ForeColor="Black" />
                                                        <DayHeaderStyle BackColor="Orange" Font-Names="Verdana,Helvetica,Tahoma,Arial" 
                                                            Font-Size="XX-Small" ForeColor="Black" />
                                                        <MonthHeaderStyle BackColor="Yellow" 
                                                            Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small" 
                                                            ForeColor="Black" />
                                                        <WeekdayStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" 
                                                            Font-Size="XX-Small" ForeColor="Black" />
                                                        <HolidayStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" 
                                                            Font-Size="XX-Small" ForeColor="Black" />
                                                        <OffMonthStyle BackColor="AntiqueWhite" 
                                                            Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small" 
                                                            ForeColor="Gray" />
                                                        <ClearDateStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" 
                                                            Font-Size="XX-Small" ForeColor="Black" />
                                                        <TodayDayStyle BackColor="LightGoldenrodYellow" 
                                                            Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small" 
                                                            ForeColor="Black" />
                                                    </ew:CalendarPopup>
                                                    </td>
                                                <td align="left">
                                                    
                                                    </td>
                                                <td align="left" colspan="2">
                                                    <asp:Label ID="Label15" runat="server" CssClass="cssLabel" Text="Kiểu nhập contact" />
                                                    &nbsp;&nbsp;
                                                    <asp:DropDownList ID="m_cbo_kieu_nhap_contact" runat="server"
                                                        Width="55%" >
                                                        <asp:ListItem Value="2">-- Tất cả --</asp:ListItem>
                                                        <asp:ListItem Value="1">Phân contact tự động</asp:ListItem>
                                                        <asp:ListItem Value="0">TVTS nhập</asp:ListItem>
                                                    </asp:DropDownList>
                                                    
                                                </td>
                                            </tr>
                                            <tr>
                                                <td align="right">
                                                    Đến
                                                    <asp:Label ID="Label12" CssClass="cssLabel" runat="server" Text="ngày" />
                                                </td>
                                                <td align="left">
                                                    <ew:CalendarPopup ID="m_dat_nhap_den_ngay" runat="server" 
                                                        AllowArbitraryText="False" CalendarLocation="Bottom" CellPadding="0px" 
                                                        ControlDisplay="TextBoxImage" Culture="Vietnamese (Vietnam)" 
                                                        DisableTextboxEntry="false" ImageUrl="~/js/cal.gif" Nullable="True" Text="Chọn" 
                                                        VisibleDate="" Width="50%">
                                                        <SelectedDateStyle BackColor="Yellow" 
                                                            Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small" 
                                                            ForeColor="Black" />
                                                        <WeekendStyle BackColor="LightGray" Font-Names="Verdana,Helvetica,Tahoma,Arial" 
                                                            Font-Size="XX-Small" ForeColor="Black" />
                                                        <GoToTodayStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" 
                                                            Font-Size="XX-Small" ForeColor="Black" />
                                                        <DayHeaderStyle BackColor="Orange" Font-Names="Verdana,Helvetica,Tahoma,Arial" 
                                                            Font-Size="XX-Small" ForeColor="Black" />
                                                        <MonthHeaderStyle BackColor="Yellow" 
                                                            Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small" 
                                                            ForeColor="Black" />
                                                        <WeekdayStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" 
                                                            Font-Size="XX-Small" ForeColor="Black" />
                                                        <HolidayStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" 
                                                            Font-Size="XX-Small" ForeColor="Black" />
                                                        <OffMonthStyle BackColor="AntiqueWhite" 
                                                            Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small" 
                                                            ForeColor="Gray" />
                                                        <ClearDateStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" 
                                                            Font-Size="XX-Small" ForeColor="Black" />
                                                        <TodayDayStyle BackColor="LightGoldenrodYellow" 
                                                            Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small" 
                                                            ForeColor="Black" />
                                                    </ew:CalendarPopup>
                                                    </td>
                                                <td align="left">
                                                    &nbsp;&nbsp;
                                                    </td>
                                                <td align="left">
                                                    &nbsp;
                                                </td>
                                                <td align="left">
                                                    &nbsp;
                                                </td>
                                            </tr>
                                            <tr>
                                                <td align="left" colspan="2">
                                                    <asp:Label ID="Label1" CssClass="cssLabel" runat="server" Text="Thời gian gọi gần nhất: "
                                                        Style="font-weight: 700" />
                                                </td>
                                            </tr>
                                            <tr>
                                                <td align="right">
                                                    Từ
                                                    <asp:Label ID="Label3" CssClass="cssLabel" runat="server" Text="ngày" />
                                                </td>
                                                <td align="left">&nbsp;
                                                    <ew:CalendarPopup ID="m_dat_goi_tu_ngay" runat="server" 
                                                        AllowArbitraryText="False" CalendarLocation="Bottom" CellPadding="0px" 
                                                        ControlDisplay="TextBoxImage" Culture="Vietnamese (Vietnam)" 
                                                        DisableTextboxEntry="false" ImageUrl="~/js/cal.gif" Nullable="True" Text="Chọn" 
                                                        VisibleDate="" Width="50%">
                                                        <SelectedDateStyle BackColor="Yellow" 
                                                            Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small" 
                                                            ForeColor="Black" />
                                                        <WeekendStyle BackColor="LightGray" Font-Names="Verdana,Helvetica,Tahoma,Arial" 
                                                            Font-Size="XX-Small" ForeColor="Black" />
                                                        <GoToTodayStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" 
                                                            Font-Size="XX-Small" ForeColor="Black" />
                                                        <DayHeaderStyle BackColor="Orange" Font-Names="Verdana,Helvetica,Tahoma,Arial" 
                                                            Font-Size="XX-Small" ForeColor="Black" />
                                                        <MonthHeaderStyle BackColor="Yellow" 
                                                            Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small" 
                                                            ForeColor="Black" />
                                                        <WeekdayStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" 
                                                            Font-Size="XX-Small" ForeColor="Black" />
                                                        <HolidayStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" 
                                                            Font-Size="XX-Small" ForeColor="Black" />
                                                        <OffMonthStyle BackColor="AntiqueWhite" 
                                                            Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small" 
                                                            ForeColor="Gray" />
                                                        <ClearDateStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" 
                                                            Font-Size="XX-Small" ForeColor="Black" />
                                                        <TodayDayStyle BackColor="LightGoldenrodYellow" 
                                                            Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small" 
                                                            ForeColor="Black" />
                                                    </ew:CalendarPopup>
                                                    </td>
                                                <td align="right">
                                                    Đến
                                                    <asp:Label ID="Label2" runat="server" CssClass="cssLabel" Text="ngày" />
                                                    </td>
                                                <td align="left">
                                                    &nbsp;
                                                    <ew:CalendarPopup ID="m_dat_goi_den_ngay" runat="server" 
                                                        AllowArbitraryText="False" CalendarLocation="Bottom" CellPadding="0px" 
                                                        ControlDisplay="TextBoxImage" Culture="Vietnamese (Vietnam)" 
                                                        DisableTextboxEntry="false" ImageUrl="~/js/cal.gif" Nullable="True" Text="Chọn" 
                                                        VisibleDate="" Width="50%">
                                                        <SelectedDateStyle BackColor="Yellow" 
                                                            Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small" 
                                                            ForeColor="Black" />
                                                        <WeekendStyle BackColor="LightGray" Font-Names="Verdana,Helvetica,Tahoma,Arial" 
                                                            Font-Size="XX-Small" ForeColor="Black" />
                                                        <GoToTodayStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" 
                                                            Font-Size="XX-Small" ForeColor="Black" />
                                                        <DayHeaderStyle BackColor="Orange" Font-Names="Verdana,Helvetica,Tahoma,Arial" 
                                                            Font-Size="XX-Small" ForeColor="Black" />
                                                        <MonthHeaderStyle BackColor="Yellow" 
                                                            Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small" 
                                                            ForeColor="Black" />
                                                        <WeekdayStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" 
                                                            Font-Size="XX-Small" ForeColor="Black" />
                                                        <HolidayStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" 
                                                            Font-Size="XX-Small" ForeColor="Black" />
                                                        <OffMonthStyle BackColor="AntiqueWhite" 
                                                            Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small" 
                                                            ForeColor="Gray" />
                                                        <ClearDateStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" 
                                                            Font-Size="XX-Small" ForeColor="Black" />
                                                        <TodayDayStyle BackColor="LightGoldenrodYellow" 
                                                            Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small" 
                                                            ForeColor="Black" />
                                                    </ew:CalendarPopup>
                                                </td>
                                            </tr>
                                        </table>
                                    </asp:Panel>
                                </td>
                            </tr>
                            <tr>
                                <td align="left">
                                    <asp:Panel ID="pnTrangThaiGoi" runat="server" GroupingText="Trạng thái gọi">
                                        <asp:RadioButtonList ID="rblTrangThaiGoi" runat="server" RepeatColumns="5" CellPadding="0"
                                            CellSpacing="0" BorderWidth="0" AutoPostBack="True" OnSelectedIndexChanged="rblTrangThaiGoi_SelectedIndexChanged"
                                            Width="100%" />
                                        <asp:HiddenField runat="server" ID="m_hdf_trangthaiID" />
                                    </asp:Panel>
                                </td>
                            </tr>
                            <tr>
                                <td align="left">
                                    <asp:Panel ID="pnTenTruong" runat="server" GroupingText="Trường chăm sóc">
                                        <asp:RadioButtonList ID="rblTenTruong" runat="server" RepeatColumns="5" CellPadding="0"
                                            CellSpacing="0" BorderWidth="0" AutoPostBack="True" OnSelectedIndexChanged="rblTenTruong_SelectedIndexChanged"
                                            Width="100%" />
                                    </asp:Panel>
                                </td>
                            </tr>
                            <tr>
                                <td align="left">
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td align="left">
                                    <table border="0" cellpadding="0" cellspacing="0" style="width: 100%;">
                                        <tr>
                                            <td align="left" style="width: 20%">
                                                <asp:HyperLink ID="btnThemHocVien" AccessKey="c" CssClass="cssHyperLinkButton" runat="server"
                                                    Width="98px" Text="Thêm học viên(c)" />
                                            </td>
                                            <td align="left" style="width: 60%">
                                                <asp:Label ID="m_lbl_result" CssClass="cssManField" runat="server"></asp:Label>
                                            </td>
                                            <td align="right" style="width: 20%">
                                                <asp:Button ID="btnInDanhSach" AccessKey="i" Visible="false" CssClass="cssButton" runat="server"
                                                    Width="98px" Text="In danh sách(i)" OnClick="btnInDanhSach_Click" />
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                            <tr>
                                <td align="center">
                                    <asp:GridView ID="grvHocVien" runat="server" Width="100%" CellPadding="0"
                                        AutoGenerateColumns="False" AllowPaging="True" HeaderStyle-CssClass="cssGridHeader"
                                        EditRowStyle-CssClass="cssGridEdit" RowStyle-CssClass="cssGridCell" AlternatingRowStyle-CssClass="cssGridAlterCell"
                                        PagerStyle-CssClass="cssGridPager" SelectedRowStyle-CssClass="cssSelectedRow"
                                        DataKeyNames="ID" PageSize="16" PagerStyle-HorizontalAlign="Center" OnRowDataBound="grvHocVien_RowDataBound"
                                        OnRowDeleting="grvHocVien_RowDeleting" OnPageIndexChanging="grvHocVien_PageIndexChanging"
                                        AllowSorting="True" OnSorting="grvHocVien_Sorting" 
                                        EnableModelValidation="True">
                                        <EditRowStyle CssClass="cssGridEdit"></EditRowStyle>
                                        <HeaderStyle CssClass="cssGridHeader"></HeaderStyle>
                                        <PagerSettings Position="TopAndBottom" />
                                        <AlternatingRowStyle CssClass="cssGridAlterCell"></AlternatingRowStyle>
                                        <Columns>
                                            
                                            
                                            <asp:TemplateField Visible="False">
                                                <ItemTemplate>
                                                    <asp:Label ID="HocVienID" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.ID") %>' />
                                                </ItemTemplate>
                                            </asp:TemplateField>
                                            <asp:TemplateField Visible="True">
                                                <ItemTemplate>
                                                    <asp:Label ID="LevelID" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.LevelID") %>' />
                                                </ItemTemplate>
                                            </asp:TemplateField>
                                            <asp:BoundField DataField="Seq" SortExpression="Seq" 
                                                HeaderText="STT" ItemStyle-Width="4%"
                                                HeaderStyle-ForeColor="White" ItemStyle-HorizontalAlign="Center">
<HeaderStyle ForeColor="White"></HeaderStyle>

<ItemStyle HorizontalAlign="Center" Width="4%"></ItemStyle>
                                            </asp:BoundField>
                                            <asp:BoundField DataField="MaHocVien" HeaderText="Mã ứng viên" />
                                            <asp:TemplateField HeaderText="Mã ứng viên" SortExpression="MaHocVien" 
                                                ControlStyle-Font-Underline="false"
                                                HeaderStyle-ForeColor="White" ItemStyle-HorizontalAlign="Left" Visible ="false">

<ControlStyle Font-Underline="False"></ControlStyle>

<HeaderStyle ForeColor="White"></HeaderStyle>

                                                <ItemStyle Width="10%" />
                                                <ItemTemplate>
                                                    <asp:Label ID="lblMaHocVienGV" CssClass="cssGridLink" Target="_blank" runat="server"
                                                        Text='<%# DataBinder.Eval(Container, "DataItem.MaHocVien") %>' />
                                                </ItemTemplate>
                                            </asp:TemplateField>
                                            <asp:BoundField DataField="HoTen" HeaderText="Họ Tên" 
                                            ControlStyle-Font-Underline="false"
                                                HeaderStyle-ForeColor="White" ItemStyle-HorizontalAlign="Left">
                                            

<ControlStyle Font-Underline="False"></ControlStyle>

<HeaderStyle ForeColor="White"></HeaderStyle>

                                                <ItemStyle Width="14%" />
                                                
                                            </asp:BoundField>
                                            <asp:BoundField DataField="DienThoai" SortExpression="DienThoai" HeaderText="Điện thoại"
                                                HeaderStyle-ForeColor="White" ItemStyle-Width="8%" ItemStyle-HorizontalAlign="Center">                                                
<HeaderStyle ForeColor="White"></HeaderStyle>

<ItemStyle HorizontalAlign="Center" Width="8%"></ItemStyle>
                                            </asp:BoundField>
                                            <asp:BoundField DataField="Email" HeaderText="Email" ItemStyle-Width="12%"
                                                ControlStyle-Font-Underline="false" HeaderStyle-ForeColor="White" ItemStyle-HorizontalAlign="Left">

<ControlStyle Font-Underline="False"></ControlStyle>

<HeaderStyle ForeColor="White"></HeaderStyle>

<ItemStyle HorizontalAlign="Left" Width="12%"></ItemStyle>
                                            </asp:BoundField>
                                            <asp:BoundField DataField = "NgayGoi" HeaderText="Gọi gần nhất" 
                                                ControlStyle-Font-Underline="false"
                                                ItemStyle-Width="9%" HeaderStyle-ForeColor="White" ItemStyle-HorizontalAlign="Center">

<ControlStyle Font-Underline="False"></ControlStyle>

<HeaderStyle ForeColor="White"></HeaderStyle>

<ItemStyle HorizontalAlign="Center" Width="9%"></ItemStyle>
                                            </asp:BoundField>
                                            <asp:BoundField DataField="NgayHenGoiGanNhat" HeaderText="Hẹn gọi lại"
                                                ControlStyle-Font-Underline="false"
                                                ItemStyle-Width="8%" HeaderStyle-ForeColor="White" ItemStyle-HorizontalAlign="Center">
<ControlStyle Font-Underline="False"></ControlStyle>

<HeaderStyle ForeColor="White"></HeaderStyle>

<ItemStyle HorizontalAlign="Center" Width="8%"></ItemStyle>
                                            </asp:BoundField>
                                            <asp:BoundField DataField="TrangThai" SortExpression="TrangThai" HeaderStyle-ForeColor="White"
                                                HeaderText="Trạng thái" ItemStyle-Width="14%" ItemStyle-HorizontalAlign="Center">
<HeaderStyle ForeColor="White"></HeaderStyle>

<ItemStyle HorizontalAlign="Center" Width="14%"></ItemStyle>
                                            </asp:BoundField>
                                            <asp:BoundField DataField="NoiDungGoi" HeaderStyle-ForeColor="White"
                                                HeaderText="Nội dung gọi" ItemStyle-Width="20%" ItemStyle-HorizontalAlign="Left">
<HeaderStyle ForeColor="White"></HeaderStyle>

<ItemStyle HorizontalAlign="Left" Width="20%"></ItemStyle>
                                            </asp:BoundField>
                                            <asp:TemplateField HeaderText="Chức năng" HeaderStyle-HorizontalAlign="Center" 
                                                ItemStyle-HorizontalAlign="Center"
                                                ItemStyle-Width="8%">
                                                <ItemTemplate>
                                                    <asp:HyperLink ID="hplAddGV" CssClass="cssHyperLinkIcon" Target="_blank" runat="server"
                                                        ImageUrl="~/images/Button/Insert.gif" ToolTip="Thêm sự kiện" />
                                                    <asp:HyperLink ID="hplUpdateGV" CssClass="cssHyperLinkIcon" Target="_blank"
                                                        runat="server"
                                                        ImageUrl="~/images/Button/Edit.gif" ToolTip="Sửa bản ghi" />
                                                    <% if (Convert.ToBoolean(Session["QuyenUser"]) == true)
                                                   { %>
                                                       <asp:ImageButton ID="btnDelete" AccessKey="d"  runat="server" ImageUrl="~/images/Button/Delete.gif"
                                                             ToolTip="Xóa bản ghi" CommandName="delete" 
                                                             OnClientClick = "javascript:if(confirm('Bạn chắc chắn muốn xóa OK , Bạn hủy lệnh CANCEL')) {return true} else {return false};" />
                                                    <%} %>
                                                </ItemTemplate>
                                            </asp:TemplateField>
                                            <asp:BoundField HeaderText="Tên Trường" DataField="Ten_Truong"  ControlStyle-Font-Underline="false"
                                                ItemStyle-Width="8%" HeaderStyle-ForeColor="White" ItemStyle-HorizontalAlign="Center">
                                            </asp:BoundField>
                                        </Columns>
                                        <PagerStyle HorizontalAlign="Center" CssClass="cssGridPager"></PagerStyle>
                                        <RowStyle CssClass="cssGridCell"></RowStyle>
                                        <SelectedRowStyle CssClass="cssSelectedRow"></SelectedRowStyle>
                                    </asp:GridView>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
</table>
